package cn.edu.wynu;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestAnnotation {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context =
                new AnnotationConfigApplicationContext(SpringConfig.class);
        Object zrk = context.getBean("zrk");
        System.out.println(zrk);
    }
}
